skywatcher.hex: skywatcher.o usart.o
	sdcc-sdcc -mpic16 -p18f4431 -V --debug -Wl-c -Wl-m -L/usr/share/sdcc/non-free/lib/pic16 -I/nfs/devel/pic/PICPrograms/pic18/18F4431/skywatcher/ -o skywatcher.hex skywatcher.o usart.o

skywatcher.o: skywatcher.c skywatcher.h 
	sdcc-sdcc -mpic16 -p18f4431 -V --debug -I/usr/share/sdcc/non-free/include/pic16 -I/nfs/devel/pic/PICPrograms/pic18/18F4431/skywatcher/ -c skywatcher.c 
usart.o: usart.c usart.h 
	sdcc-sdcc -mpic16 -p18f4431 -V --debug -I/usr/share/sdcc/non-free/include/pic16 -I/nfs/devel/pic/PICPrograms/pic18/18F4431/skywatcher/ -c usart.c 
